@import "common.less";
@import "../icons/iconfont.css";

@borde-color: #e9e9e9;
@primary-color: #16a1e0;

body,
html {
  position: relative;
  height: 100%;
  background-color: #fff;
  overflow-x: hidden;
  font-family: PingFangSC-Regular;
}

.content {
  position: relative;
  z-index: 9995;
  width: 750 * @rem;
  margin: 0 auto;
}

.navbar {
  color: #fff;
  height: 70 * @rem;
  line-height: 70 * @rem;
  background-color: #333;
  width: 750 * @rem;
  .navbar_info {
    .fontSize(14px);
    height: 100%;
    vertical-align: middle;
    margin-right: 40 * @rem;
    a {
      color: #fff;
    }
    .info-item {
      float: left;
      margin-left: 20 * @rem;
      .iconfont {
        .fontSize(14px);
        display: inline-block;
        margin-right: 8* @rem;
      }

    }
    .user-menu {
      position: relative;
      .menu-list {
        position: absolute;
        width: 180 * @rem;
        top: 70 * @rem;
        left: 0;
        display: none;
        color: #333;
        border: 1px solid @borde-color;
        background-color: #fff;

        a {
          .fontSize(12px);
          display: block;
          width: 100%;
          text-align: center;
          color: #666;
          box-sizing: border-box;
        }

        li {
          height: 60* @rem;
          line-height: 60* @rem;
          border-bottom: 1px solid @borde-color;
        }

        li:last-child {
          border-bottom: none;
        }
      }
    }

  }
}

.tab-bar {
  margin: 35 * @rem 0;
  padding: 0 30 * @rem;
  ul {
    display: flex;
    border: 1px solid @borde-color;
    height: 70 * @rem;
    line-height: 70 * @rem;
    border-radius: 10 * @rem;
    li {
      flex: 1;
      text-align: center;
      color: #666;
      a {
        color: #666;
        .fontSize(14px)
      }
    }
    li.active {
      background-color: @primary-color;
      a {
        color: #fff;
      }
    }
  }
}

.main {
  display: none;
}

.main.selected {
  display: block;
}

.introduce {
  margin: 55 * @rem 0 35 * @rem;
  padding: 0 20 * @rem;
  .introduce-wraper {
    position: relative;
    border: 2px solid #ccc;
    border-radius: 8px;
    padding: 50 * @rem 30 * @rem 20 * @rem;
    height: 200 * @rem;
    .introduce-title {
      .fontSize(12px);
      height: 55 * @rem;
      line-height: 55 * @rem;
      padding: 2 * @rem 30 * @rem;
      box-sizing: border-box;
      color: #fff;
      border-radius: 8px;
      background-color: #666;
      position: absolute;
      left: 20 * @rem;
      top: -22 * @rem;
    }
    .introduce-content {
      color: #666;
      font-weight: 600;
      .fontSize(14px);
      padding: 5 * @rem 30 * @rem;
      p:first-child {
        margin-top: 10 * @rem;
        text-indent: 30 * @rem;
      }
      p:last-child {
        margin-top: 40 * @rem;
        text-align: center;
      }
    }
  }
}

// 视频 + 遮罩层
.video {
  padding: 0 20 * @rem;
  margin-bottom: 50 * @rem;
  .video-wraper {
    position: relative;
    overflow: hidden;
    .img-placeholder {
      height: 350 * @rem;
      width: 100%;
      background: #000;
    }

    .video-mask {
      position: absolute;
      width: 100%;
      height: 100%;
      top: 0;
      left: 0;
      .iconfont {
        color: #666;
        font-size: 50 * @rem;
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
      }
    }
  }
}

#modalVideo .videobox {
  position: fixed;
  top: 30%;
  left: 0;
  z-index: 9999;
  display: none;
  padding: 0px;
  width: 100%;
  video {
    height: auto;
    width: 100%;
    font-size: 50 * @rem;
    vertical-align: top;
  }

}
.videoboxMask {
  width: 100%;
  height: 100%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9997;
  content: "";
  display: table;
  display: none;
  clear: both;
  background-color: rgba(0, 0, 0, .90);
}

.videoboxClose {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 9999;
  width: 45 * @rem;
  height: 45 * @rem;
  cursor: pointer;
}

.videoboxClose {
  display: none;
  position: fixed;
  top: 60 * @rem;
  right: 20 * @rem;
  z-index: 9999;
 img {
    width: 45 * @rem;
    height: 45 * @rem;
  }
}


// 优秀病例

.good-records {
  padding: 0 30 * @rem;
  .records-item {
    margin-bottom: 35 * @rem;
    border-left: 8 * @rem solid @primary-color;
    padding: 10 * @rem 40 * @rem;
    height: 95 * @rem;
    position: relative;
    border-bottom: 1px solid #ddd;
    .left {
      h3 {
        color: #333;
        .fontSize(16px);
      }
      p {
        color: #7d7d7d;
        .fontSize(12px);
        margin-top: 10 * @rem;
      }
    }
    .right {
      position: absolute;
      right: 30 * @rem;
      top: 50%;
      width: 180 * @rem;
      transform: translateY(-50%);
      .iconfont {
        color: #666;
        .fontSize(16px)
      }
      .num {
        .fontSize(12px);
      }
      .zan-info {
        margin-right: 20 * @rem;
        .icon-zan1 {
          color: @primary-color;
        }
      }

    }
  }
}

